package designpatterns.factory.abstact;


/**
 * @program: MyTank
 * @description: 剑士
 * @author: 王术平
 * @create: 2021-01-11 22:44
 **/
public class SwordmanFactory  extends AbstractFactory{
    @Override
    Food createFood() {
        return new Wine();
    }

    @Override
    Weapon createWeapon() {
        return new Sword();
    }

    @Override
    Vehicle createVehicle() {
        return new FlySword();
    }
}
